package cn.hl.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName CourseReply
 * @Description TODO
 * @Author libowen
 * @Date 2024年10月28日 20:32
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString

public class CourseReply {
    private Long id;
    private String replyText;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    private Long talk_id;
    private Long user_id;
    private User user;
}

